<template>
	<om-page title="登录网址">
		<view class="padding-xl text-center text-xxl bg-steelblue">登录网址</view>
		<view class="content">
			<!-- #ifdef H5 || APP-PLUS -->
			<om-wing-blank>
				<view class="input-group" style="margin: 20px;">
					<view class="input-row border account-text-color" >
						<text class="title">登录网址</text>
						<m-input v-model="stateurl" :isDisabled="true"></m-input>
					</view>
				</view>
				<!-- <view class="btn-row"><button type="primary" class="primary" @tap="bindConfirm">确认</button></view> -->
			</om-wing-blank>
			<!-- #endif -->
		</view>
	</om-page>
</template>

<script>
import md5 from '@/static/js/md5.js';
import {ignoreHtml, errorModal,confirmModal } from 'static/js/common.js'
import { mapState, mapActions } from 'pinia';
import {
		useLoginUserStore
	} from '@/stores/login-user.js';
	
const app = getApp();
export default {
	data() {
		return {
			stateurl:""
		};
	},
	computed:{
		...mapState(useLoginUserStore,['hasLogin', 'forcedLogin', 'userName','userId',"avatar","sexCode"
			// #ifdef MP-WEIXIN
			,'db','openid','orgCode'
			// #endif
		])
	},
	methods: {
		...mapActions(useLoginUserStore,['logout'
		// #ifdef MP-WEIXIN
		,'setOrgCode','setSubUr','setUserId'
		// #endif
		]),
		bindConfirm(){
			uni.navigateTo({
				url: '/pages/login/confirm-appurl/confirm-appurl'
			})
		},
		onLoad(e) {
			let _that = this;
			uni.getStorage({
				key: "ORG_SITE",
				success(res) {
					if (res.data) {
						_that.stateurl = res.data.site
					}
				}
			})
		},
	}
};
</script>

<style scoped>
	.account-text-color{
		color:#808080;
	},
	.forgetPwd{
		text-align: right;
		font-size: 14px;
		padding-top: 15px;
	}
	.forgetPwd a{
		text-decoration: none;
		color: #0faeff;
	}
</style>
                                            